package org.project.hint_game;

import android.app.Activity;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class CharSelectActivity extends Activity implements OnClickListener {

	private Button m_char1Button;
	
	public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_char_select);
        this.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
        m_char1Button = (Button)findViewById(R.id.char1Button);
        m_char1Button.setOnClickListener(this);
	}

	public void onClick(View v) {
		switch(v.getId()){
		case R.id.char1Button:
			Intent intent = new Intent(CharSelectActivity.this, RoomSelectActivity.class);
    		intent.putExtra("currentRoom", -1);
			startActivity(intent);
			break;
//		case R.id.char2Button:
//			break;
//		case R.id.char3Button:
//			break;
//		case R.id.char4Button:
//			break;
//		case R.id.char5Button:
//			break;
//		case R.id.char6Button:
//			break;
		default:
			break;
		}
	}
	@Override
	public void onBackPressed() {
	}
}
